SetLuminancePloy.       Set brightness settings.

Request

<?xml version="1.0" encoding="utf-8"?>

<sdk guid="##GUID">

<in method="SetLuminancePloy">

<mode value="##value"/>

<default value="##value"/>

<ploy>

<item enable="##value" start="##value" percent="##value"/>

</ploy>

<sensor min="##value" max="##value" time="##value"/>

</in>

</sdk>

 

<!--

Description:

    1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

    2. mode.value : Value range {"default" (default), "ploys" (custom mode), "sensor" (sensor mode)}.

    3. The range of brightness levels [1, 100].

    4. default.value: The brightness level in the default mode.

    5. The ploy node can contain multiple item sub-nodes, indicating that different brightness levels can be set for different time periods.

    6. item.enable Whether the item is enable, the value range is {"true" (enable), "false" (not enable)}.

    7. item.start: The time to start changing the brightness level, format: hh:mm:ss.

    8. item.percent: brightness level

    9. sensor.min: The minimum brightness level in sensor mode.

    10.sensor.max: The maximum brightness level in sensor mode.

    11.sensor.time: The interval between brightness adjustments, the range of values [5, 15] (in seconds).

-->

Respond

<?xmlversion="1.0"encoding="utf-8"?>

<sdkguid="##GUID">

<outmethod="SetLuminancePloy"result="##result"/>

</sdk>

 

<!--

Description:

    1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

    2. out.method ="SetLuminancePloy"

    3. out.result (The error code refers to ErrorCode.)

-->